package com.jrx.anytxn.transaction.dto.payment;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 逾期欠款明细
 *
 * @author : zhenghaopu
 * 2019/11/20
 */
public class DelinquencyDebtDetailRes implements Serializable {
    /**
     * 订单号
     */
    private String loanId;
    /**
     * 逾期本金
     */
    private BigDecimal principle = BigDecimal.ZERO;
    /**
     * 逾期利息
     */
    private BigDecimal interest = BigDecimal.ZERO;
    /**
     * 逾期罚息
     */
    private BigDecimal penaltyInterest = BigDecimal.ZERO;
    /**
     * 逾期复利
     */
    private BigDecimal compoundInterest = BigDecimal.ZERO;
    /**
     * 逾期费用
     */
    private BigDecimal fee = BigDecimal.ZERO;
    /**
     * 借款日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date borrowDate;

    /**
     * 贷款金额
     */
    private BigDecimal loanAmount = BigDecimal.ZERO;

    /**
     * 剩余本金
     */
    private BigDecimal remainPrinciple = BigDecimal.ZERO;

    /**
     * 逾期期数
     */
    private Integer delqCount;

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    public BigDecimal getPrinciple() {
        return principle;
    }

    public void setPrinciple(BigDecimal principle) {
        this.principle = principle;
    }

    public BigDecimal getInterest() {
        return interest;
    }

    public void setInterest(BigDecimal interest) {
        this.interest = interest;
    }

    public BigDecimal getPenaltyInterest() {
        return penaltyInterest;
    }

    public void setPenaltyInterest(BigDecimal penaltyInterest) {
        this.penaltyInterest = penaltyInterest;
    }

    public BigDecimal getCompoundInterest() {
        return compoundInterest;
    }

    public void setCompoundInterest(BigDecimal compoundInterest) {
        this.compoundInterest = compoundInterest;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    public Date getBorrowDate() {
        return borrowDate;
    }

    public void setBorrowDate(Date borrowDate) {
        this.borrowDate = borrowDate;
    }

    public BigDecimal getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(BigDecimal loanAmount) {
        this.loanAmount = loanAmount;
    }

    public BigDecimal getRemainPrinciple() {
        return remainPrinciple;
    }

    public void setRemainPrinciple(BigDecimal remainPrinciple) {
        this.remainPrinciple = remainPrinciple;
    }

    public Integer getDelqCount() {
        return delqCount;
    }

    public void setDelqCount(Integer delqCount) {
        this.delqCount = delqCount;
    }
}
